﻿<%@ Page Title="Campus Visit For Transfer Students" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <script type ="text/javascript">
        function isNumeric(keyCode) {

            return ((keyCode >= 48 && keyCode <= 57 || keyCode == 8 ||

            (keyCode >= 96 && keyCode <= 105)));


        }
    function parea() {
        if (document.getElementById('<%= txtArea.ClientID %>').value.length >= 3) {
            document.getElementById('<%= txtPrefix.ClientID %>').focus();
            document.getElementById('<%= txtArea.ClientID %>').value.replace(/(^\s+)|\s+$/g, '');

            return (false);
        }
        return (true);
    }
    function pprefix() {
        if (document.getElementById('<%= txtPrefix.ClientID %>').value.length >= 3) {
            document.getElementById('<%= txtSuffix.ClientID %>').focus();
            document.getElementById('<%= txtPrefix.ClientID %>').value.replace(/(^\s+)|\s+$/g, '');

            return (false);
        }
        return (true);
    }

    function psuffix() {
        if (document.getElementById('<%= txtSuffix.ClientID %>').value.length >= 4) {
            document.getElementById('<%= txtArea0.ClientID %>').focus();
            document.getElementById('<%= txtSuffix.ClientID %>').value.replace(/(^\s+)|\s+$/g, '');

            return (false);
        }


        return (true);
    }
    function marea() {
        if (document.getElementById('<%= txtArea0.ClientID %>').value.length >= 3) {
            document.getElementById('<%= txtPrefix0.ClientID %>').focus();
            document.getElementById('<%= txtArea0.ClientID %>').value.replace(/(^\s+)|\s+$/g, '');

            return (false);
        }
        return (true);
    }
    function mprefix() {
        if (document.getElementById('<%= txtPrefix0.ClientID %>').value.length >= 3) {
            document.getElementById('<%= txtSuffix0.ClientID %>').focus();
            document.getElementById('<%= txtPrefix0.ClientID %>').value.replace(/(^\s+)|\s+$/g, '');

            return (false);
        }
        return (true);
    }

    function msuffix() {
        if (document.getElementById('<%= txtSuffix0.ClientID %>').value.length >= 4) {
            document.getElementById('<%= ddTerm.ClientID %>').focus();
            document.getElementById('<%= txtSuffix0.ClientID %>').value.replace(/(^\s+)|\s+$/g, '');

            return (false);
        }


        return (true);
    }

</script>


  <!-- https connection working for calendar when add all these script like below not http for href="" type exactly like below -->
    <link rel="stylesheet" type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/base/jquery-ui.css" />
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> 
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>


    <script type="text/javascript">

        var date = new Date();
        var date2 = new Date();
        date2.setDate(date2.getDate() + 1);
        var m = date.getMonth();
        var d = date.getDate(), y = date.getFullYear();
        var disabledDays = ["4-3-2015", "5-25-2015", "5-29-2015", "6-19-2015"];
        $(document).ready(function () {          

            /******************************************************************/
            /*  Disable a Weekends & list of dates (given Holidays)           */
            /******************************************************************/
            var txtHoliday = $('input[type=text][id*=txtVisitDate]');  //Finds all input fields with an ID that starts with txtdt
          
            function disableAllTheseDays(date) {
                var m = date.getMonth(), d = date.getDate(), y = date.getFullYear();
                var day = date.getDay(); //get day
                for (i = 0; i < disabledDays.length; i++) {
                    if ($.inArray((m + 1) + '-' + d + '-' + y, disabledDays) != -1 || new Date() > date || new Date().getDay() + 1 > date)
                    { return [false]; }


                }
            
                return [true];

            }



            // Diable both weekends and list of dates
            function noWeekEndsandHolidays(date) {
                var noWeekend = $.datepicker.noWeekends(date);
                return noWeekend[0] ? disableAllTheseDays(date) : noWeekend;

            }

            var dateMin = new Date();
            var weekDays = AddWeekDays(1);

            dateMin.setDate(dateMin.getDate() + weekDays);


            //this is checking after 12 pm visit date available next day

            function AddWeekDays(weekDaysToAdd) {
                var mydate = new Date()
                if (mydate.getHours() >= 12) var daysToAdd = 1
                else var daysToAdd = 0
                var day = mydate.getDay()
                weekDaysToAdd = weekDaysToAdd - (5 - day)
                if ((5 - day) < weekDaysToAdd || weekDaysToAdd == 1) {
                    daysToAdd = (5 - day) + 2 + daysToAdd
                } else { // (5-day) >= weekDaysToAdd
                    daysToAdd = (5 - day) + daysToAdd
                }
                while (weekDaysToAdd != 0) {
                    var week = weekDaysToAdd - 5
                    if (week > 0) {
                        daysToAdd = 7 + daysToAdd
                        weekDaysToAdd = weekDaysToAdd - 5
                    } else { // week < 0
                        daysToAdd = (5 + week) + daysToAdd
                        weekDaysToAdd = weekDaysToAdd - (5 + week)
                    }
                }

                return daysToAdd;
            }


            $(txtHoliday).datepicker({

                inline: true,
                hideInput: false,
                //Added for month & year
                changeMonth: true,
                changeYear: true,
                //startDate: '+2dd',
                //minDate: new Date(2012, 3, 21), // 0-Jan, 1-Feb,2-Mar, 3-Apr,4-May
                dateFormat: 'mm-dd-yy',
                numberOfMonths: 1, // Show 2 months
                beforeShowDay: noWeekEndsandHolidays, // Call function noWeekEndsandHolidays(date)
                minDate: dateMin,
                defaultDate: +1,
                beforeShow: function (input, inst) {
                    $.datepicker._pos = $.datepicker._findPos(input); //this is the default position        
                    //                    $.datepicker._pos[0] = 430; //left         
                    //                    $.datepicker._pos[1] = 115; //top     
                },
                onSelect: function () { } // this used to remove after select

            });


        });
</script>



    
    <script type="text/javascript">
        /******************************************************************/
        /*  Added for txtNVisit   Nursing VisitDate Calendar           */
        /******************************************************************/
        var date = new Date();
        var date2 = new Date();
        date2.setDate(date2.getDate() + 1);
        var m = date.getMonth();
        var d = date.getDate(), y = date.getFullYear();
        var disabledDays = ["4-3-2015", "5-25-2015", "5-29-2015", "6-19-2015"];
        $(document).ready(function () {
    
    /******************************************************************/
    /*  Disable a Weekends & list of dates (given Holidays)           */
    /******************************************************************/
    var txtNV = $('input[type=text][id*=txtNVisit]');  //Finds all input fields with an ID that starts with txtdt

    function disableAllTheseDays(date) {
        var m = date.getMonth(), d = date.getDate(), y = date.getFullYear();
        var day = date.getDay(); //get day
        for (i = 0; i < disabledDays.length; i++) {
            if ($.inArray((m + 1) + '-' + d + '-' + y, disabledDays) != -1 || new Date() > date || new Date().getDay() + 1 > date)
            { return [false]; }


        }
        //disable other than Monday ,Wednesday and Friday var day = date.getDay(); get day and here  0=sunday 1=monday 2= tuesday 3= wednesday 4= thursday 5= friday 
        if (day != 2 && day != 3 && day != 4 && day != 5)
        { return [false]; }



        return [true];

    }



    // Diable both weekends and list of dates
    function noWeekEndsandHolidays(date) {
        var noWeekend = $.datepicker.noWeekends(date);
        return noWeekend[0] ? disableAllTheseDays(date) : noWeekend;

    }

    var dateMin = new Date();
    var weekDays = AddWeekDays(1);

    dateMin.setDate(dateMin.getDate() + weekDays);


    //this is checking after 12 pm visit date available next day

    function AddWeekDays(weekDaysToAdd) {
        var mydate = new Date()
        if (mydate.getHours() >= 12) var daysToAdd = 1
        else var daysToAdd = 0
        var day = mydate.getDay()
        weekDaysToAdd = weekDaysToAdd - (5 - day)
        if ((5 - day) < weekDaysToAdd || weekDaysToAdd == 1) {
            daysToAdd = (5 - day) + 2 + daysToAdd
        } else { // (5-day) >= weekDaysToAdd
            daysToAdd = (5 - day) + daysToAdd
        }
        while (weekDaysToAdd != 0) {
            var week = weekDaysToAdd - 5
            if (week > 0) {
                daysToAdd = 7 + daysToAdd
                weekDaysToAdd = weekDaysToAdd - 5
            } else { // week < 0
                daysToAdd = (5 + week) + daysToAdd
                weekDaysToAdd = weekDaysToAdd - (5 + week)
            }
        }

        return daysToAdd;
    }

    $(txtNV).datepicker({

        inline: true,
        hideInput: false,
        //Added for month & year
        changeMonth: true,
        changeYear: true,
        //startDate: '+2dd',
        //minDate: new Date(2012, 3, 21), // 0-Jan, 1-Feb,2-Mar, 3-Apr,4-May
        dateFormat: 'mm-dd-yy',
        numberOfMonths: 1, // Show 2 months
        beforeShowDay: noWeekEndsandHolidays, // Call function noWeekEndsandHolidays(date) //noWeekends, // Call function noweekends(date)
        minDate: dateMin,
        defaultDate: +1, 
        beforeShow: function (input, inst) {
            $.datepicker._pos = $.datepicker._findPos(input); //this is the default position        
            //                    $.datepicker._pos[0] = 430; //left         
            //                    $.datepicker._pos[1] = 115; //top     
        },
        onSelect: function () { } // this used to remove after select

    });

 });





</script>




<style type="text/css">
.ui-datepicker {
   background: #323;
   border: 1px solid #555;
   color: #EFE;
   z-index:200;
   font-size:x-small;

 }
</style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div align="center" width="100%"> <h2>
        Campus Visit Form for Transfer Students
    </h2> </div>
   <p  style="padding:5px 5px 5px 5px; font-size: small; " >
        <strong>Interested in Avila?</strong> Then a visit to our campus will help you in your decision to enroll.
            
            Please fill out the information below and click submit to complete your
        request for a campus visit. We look forward to meeting you.</p>
        


              <table style=" width: 818px; margin-left:10px;"   > 
                <tr align="left">
       <td style ="color :Red;" > <span style ="color :Red; font-weight:bold;"> </span>(*) Required Fields
       </td>
       </tr> 
        <tr >
            <td align="left" valign="top"   >  
                <asp:Label ID="lblFname" runat="server" Font-Bold="true" Text="First Name*"></asp:Label> 
               
            </td> 
            <td align="left" valign="top" >
                <asp:TextBox ID="txtFName" runat="server" TabIndex="1"  Font-Size="12px" ></asp:TextBox> 
               
                <asp:RequiredFieldValidator ForeColor="Red" ID="rfvFName" runat="server"  Display="Dynamic"   ControlToValidate="txtFName"
                   InitialValue=""   ErrorMessage="*"></asp:RequiredFieldValidator>
               
            </td>
            <td align="left" valign="top" >  
                  <asp:Label ID="lblLname" runat="server" Font-Bold="true" Text="Last Name*"></asp:Label> 
            </td>
            <td align="left" valign="top"  >
                <asp:TextBox ID="txtLName" runat="server" TabIndex="2"  Font-Size="12px" ></asp:TextBox>   
                <asp:RequiredFieldValidator ForeColor="Red" ID="rfvLName" runat="server"  Display="Static"   
                 ControlToValidate="txtLName" 
               InitialValue="" ErrorMessage="*"></asp:RequiredFieldValidator> 
            </td>
           
         </tr>
         
        <tr >
            <td align="left" valign="top"   >  
               <asp:Label ID="Label2" runat="server" Text="Preferred Name "></asp:Label> </td> 
            <td align="left" valign="top" >
               <asp:TextBox ID="txtPre" runat="server" TabIndex="3"  Font-Size="12px"></asp:TextBox>
             </td>
             <td align="left" valign="top" >   
                <asp:Label ID="lblMName" runat="server" Text="Middle Name "></asp:Label> 
             </td>
             <td align="left" valign="top" > 
                <asp:TextBox ID="txtMName" runat="server" TabIndex="4"  Font-Size="12px"></asp:TextBox> </td>
        </tr>
        
         <tr>
            <td align="left" valign="top"   >
                <asp:Label ID="lblStreet1" runat="server" Font-Bold="true" Text="Address*" ></asp:Label>  
            </td> 
            <td align="left" valign="top" >
                 <asp:TextBox ID="txtStreet1" runat="server" TabIndex="5"  Font-Size="12px"></asp:TextBox>  
                <asp:RequiredFieldValidator ForeColor="Red" ID="rfvStreet1" runat="server"  Display="Static"  
                 ControlToValidate="txtStreet1" 
               InitialValue="" ErrorMessage="*">
               </asp:RequiredFieldValidator>   
            </td>
            <td align="left" valign="top" >  
                <asp:Label ID="lblStreet2" runat="server" Text="Apt#"></asp:Label>  
            </td>
            <td align="left" valign="top"  >
                <asp:TextBox ID="txtStreet2" runat="server" TabIndex="6"  Font-Size="12px"></asp:TextBox>    
             </td>
             
           </tr>
         <tr >
            <td align="left" valign="top" >
                <asp:Label ID="lblCity" runat="server" Font-Bold="true" Text="City*"></asp:Label>  
             </td> 
             <td align="left" valign="top" >
               
                <asp:TextBox ID="txtCity" runat="server" TabIndex="7"  Font-Size="12px"></asp:TextBox> 
                <asp:RequiredFieldValidator ForeColor="Red" ID="rfvCity" runat="server"  
                 Display="Static"   ControlToValidate="txtCity" 
                 InitialValue="" ErrorMessage="*"></asp:RequiredFieldValidator>   
             </td>
              <td align="left" valign="top" >  
                <asp:Label ID="lblState" runat="server" Font-Bold="true" Text="State/Province*"></asp:Label>  
              </td>
              <td align="left" valign="top"  >
                <asp:DropDownList ID="ddState2" runat="server"  Font-Size="12px"  Width="130px"
                      onselectedindexchanged=  "ddState2_SelectedIndexChanged" TabIndex="8" > 
                <asp:ListItem Value=""  Selected="True" >Choose a State</asp:ListItem>
                <asp:ListItem Value="AL">Alabama</asp:ListItem>
                <asp:ListItem Value="AK">Alaska </asp:ListItem>
                <asp:ListItem Value="AZ">Arizona</asp:ListItem>
                <asp:ListItem Value="AR">Arkansas</asp:ListItem>
                <asp:ListItem Value="CA">California</asp:ListItem>
                <asp:ListItem Value="CO">Colorado</asp:ListItem>
                <asp:ListItem Value="CT">Connecticut</asp:ListItem>
                <asp:ListItem Value="DC">D.C.</asp:ListItem>
                <asp:ListItem Value="DE">Delaware</asp:ListItem>
                <asp:ListItem Value="FL">Florida</asp:ListItem>
                <asp:ListItem Value="GA">Georgia</asp:ListItem>
                <asp:ListItem Value="HI">Hawaii</asp:ListItem>
                <asp:ListItem Value="ID">Idaho</asp:ListItem>
                <asp:ListItem Value="IL">Illinois</asp:ListItem>
                <asp:ListItem Value="IN">Indiana</asp:ListItem>
                <asp:ListItem Value="IA">Iowa</asp:ListItem>
                <asp:ListItem Value="KS">Kansas</asp:ListItem>
                <asp:ListItem Value="KY">Kentucky</asp:ListItem>
                <asp:ListItem Value="LA">Louisiana</asp:ListItem>
                <asp:ListItem Value="ME">Maine</asp:ListItem>
                <asp:ListItem Value="MD">Maryland</asp:ListItem>
                <asp:ListItem Value="MA">Massachusetts</asp:ListItem>
                <asp:ListItem Value="MI">Michigan</asp:ListItem>
                <asp:ListItem Value="MN">Minnesota</asp:ListItem>
                <asp:ListItem Value="MS">Mississippi</asp:ListItem>
                <asp:ListItem Value="MO">Missouri</asp:ListItem>
                <asp:ListItem Value="MT">Montana</asp:ListItem>
                <asp:ListItem Value="NE">Nebraska</asp:ListItem>
                <asp:ListItem Value="NV">Nevada</asp:ListItem>
                <asp:ListItem Value="NH">New Hampshire</asp:ListItem>
                <asp:ListItem Value="NJ">New Jersey</asp:ListItem>
                <asp:ListItem Value="NM">New Mexico</asp:ListItem>
                <asp:ListItem Value="NY">New York</asp:ListItem>
                <asp:ListItem Value="NC">North Carolina</asp:ListItem>
                <asp:ListItem Value="ND">North Dakota</asp:ListItem>
                <asp:ListItem Value="OH">Ohio</asp:ListItem>
                <asp:ListItem Value="OK">Oklahoma</asp:ListItem>
                <asp:ListItem Value="OR">Oregon</asp:ListItem>
                <asp:ListItem Value="PA">Pennsylvania</asp:ListItem>
                <asp:ListItem Value="RI">Rhode Island</asp:ListItem>
                <asp:ListItem Value="SC">South Carolina</asp:ListItem>
                <asp:ListItem Value="SD">South Dakota</asp:ListItem>
                <asp:ListItem Value="TN">Tennessee</asp:ListItem>
                <asp:ListItem Value="TX">Texas</asp:ListItem>
                <asp:ListItem Value="UT">Utah</asp:ListItem>
                <asp:ListItem Value="VT">Vermont</asp:ListItem>
                <asp:ListItem Value="VA">Virginia</asp:ListItem>
                <asp:ListItem Value="WA">Washington</asp:ListItem>
                <asp:ListItem Value="WV">West Virginia</asp:ListItem>
                <asp:ListItem Value="WI">Wisconsin</asp:ListItem>
                <asp:ListItem Value="WY">Wyoming</asp:ListItem>
   
            </asp:DropDownList>  
                <asp:RequiredFieldValidator ForeColor="Red" ID="rfvState" runat="server"  Display="Static"  
                 ControlToValidate="ddState2" InitialValue="" ErrorMessage="*"></asp:RequiredFieldValidator>    
             </td>
           
         </tr>
         <tr >
            <td align="left" valign="top"   >  
                <asp:Label ID="lblZip" Font-Bold="true" runat="server" Text="Zip Code*"></asp:Label>  
               
            </td> 
            <td align="left" valign="top" >
                <asp:TextBox ID="txtZip" runat="server" TabIndex="9" MaxLength="5"  Font-Size="12px"></asp:TextBox>
               
                <asp:RequiredFieldValidator ForeColor="Red" ID="rfvZip" runat="server"  Display="Dynamic"  ControlToValidate="txtZip"
               InitialValue=""  ErrorMessage="*"></asp:RequiredFieldValidator>
               
                 <asp:RegularExpressionValidator  ForeColor="Red" Display="Dynamic" ID="revZip" runat="server" Font-Size="X-Small" 
                     ErrorMessage="<br />Provid a valid 5 Digit Zip Code" ControlToValidate="txtZip" CssClass="errMsg"   ValidationExpression="^([0-9]{5,5})$" 
                  ></asp:RegularExpressionValidator>  </td>
             <td align="left" valign="top" >  
                <asp:Label ID="lblEmail" Font-Bold="true" runat="server" Text="Email Address*"></asp:Label> 
               
              </td>
             <td align="left" valign="top"  >
             
                 <asp:TextBox ID="txtEmail" runat="server" TabIndex="10"  Font-Size="12px"></asp:TextBox>
                <asp:RequiredFieldValidator ForeColor="Red" ID="rfvEmail" runat="server"  Display="Dynamic"   ControlToValidate="txtEmail"
                    InitialValue="" ErrorMessage="*"  ></asp:RequiredFieldValidator>
                
                <asp:RegularExpressionValidator  ForeColor="Red" ID="revEmail" runat="server"  ControlToValidate="txtEmail"
                    Display="Dynamic" ErrorMessage="<br />Provide a valid email" CssClass="errMsg" Font-Size="X-Small"
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator> 
              </td>
          
    
        
        </tr>
         <tr >
            <td align="left" valign="top"  >  
                 <asp:Label ID="lblHPhone" runat="server" Font-Bold="true" Text="Home Phone*"></asp:Label> 
            </td> 
            <td align="left" valign="top" >
                <asp:TextBox  ID="txtArea" runat="server" MaxLength="3"  Width="35px"  Font-Size="12px"
                            TabIndex="11"></asp:TextBox>
                <asp:RequiredFieldValidator ForeColor="Red" ID="RFVtxtArea" ControlToValidate="txtArea" Display="Dynamic" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>  
                        <asp:TextBox ID="txtPrefix" runat="server" MaxLength="3" Width="35px"  Font-Size="12px"
                            TabIndex="12"></asp:TextBox> 
                             <asp:RequiredFieldValidator ForeColor="Red" ID="RFVtxtPrefix" Display="Dynamic" ControlToValidate="txtPrefix" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>  
                        <asp:TextBox ID="txtSuffix" runat="server" MaxLength="4" Width="40px"  Font-Size="12px"
                            TabIndex="13"></asp:TextBox> 
           <asp:RequiredFieldValidator ForeColor="Red" ID="RFvtxtSuffix" Display="Dynamic" ControlToValidate="txtSuffix" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>  

                          <asp:RegularExpressionValidator  ForeColor="Red"
                            ID="RExpPhone" runat="server" 
                            Display ="Dynamic" 
                            ErrorMessage="<br />Provide a valid area code" 
                             ControlToValidate="txtArea"
                            ValidationExpression="^([0-9]{3,3})$" 
                            Font-Size="X-Small"></asp:RegularExpressionValidator>
                            <asp:RegularExpressionValidator  ForeColor="Red"
                            ID="RegularExpressionValidator2" runat="server" 
                            Display ="Dynamic" 
                            ErrorMessage="<br />Provide a valid middle 3 digits!" 
                             ControlToValidate="txtPrefix"
                            ValidationExpression="^([0-9]{3,3})$" 
                            Font-Size="X-Small"></asp:RegularExpressionValidator>
                            <asp:RegularExpressionValidator  ForeColor="Red"
                            ID="RegularExpressionValidator3" runat="server" 
                            Display ="Dynamic" 
                            ErrorMessage="<br />Provide a valid last 4 digits!" 
                            ControlToValidate="txtSuffix"
                            ValidationExpression="^([0-9]{4,4})$" 
                            Font-Size="X-Small"></asp:RegularExpressionValidator>
                 
                 </td>
             <td align="left" valign="top">  
                <asp:Label ID="lblMphone" runat="server" Text="Mobile Phone "></asp:Label> 
             </td>
              <td align="left" valign="top"  >

               <%-- <asp:TextBox ID="txtMphone" runat="server" TabIndex="14"  Font-Size="12px"></asp:TextBox> 
                <asp:RegularExpressionValidator  ForeColor="Red" ID="revMPhone" runat="server" CssClass="errMsg"
                     ErrorMessage="<br />Format 999-999-9999"  Display="Dynamic" ControlToValidate="txtMphone"
                     ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}"></asp:RegularExpressionValidator>
            --%>    
                <asp:TextBox  ID="txtArea0" runat="server" MaxLength="3" Width="35px"  Font-Size="12px"
                            TabIndex="11"></asp:TextBox>
              <%--  <asp:RequiredFieldValidator ForeColor="Red" ID="RFVtxtArea0" ControlToValidate="txtArea0" 
                      Display="Dynamic" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>  
               --%>         <asp:TextBox ID="txtPrefix0" runat="server" MaxLength="3" Width="35px"  Font-Size="12px"
                            TabIndex="12"></asp:TextBox> 
                            <%-- <asp:RequiredFieldValidator ForeColor="Red" ID="RFVtxtPrefix0" Display="Dynamic" 
                      ControlToValidate="txtPrefix0" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>  
               --%>         <asp:TextBox ID="txtSuffix0" runat="server" MaxLength="4" Width="40px"  Font-Size="12px"
                            TabIndex="13"></asp:TextBox> 
           <%--<asp:RequiredFieldValidator ForeColor="Red" ID="RFvtxtSuffix0" Display="Dynamic" 
                      ControlToValidate="txtSuffix0" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>  
--%>
                          <asp:RegularExpressionValidator  ForeColor="Red"
                            ID="RExpPhone0" runat="server" 
                            Display ="Dynamic" 
                            ErrorMessage="<br />Provide a valid area code" 
                             ControlToValidate="txtArea0"
                            ValidationExpression="^([0-9]{3,3})$" 
                            Font-Size="X-Small"></asp:RegularExpressionValidator>
                            <asp:RegularExpressionValidator  ForeColor="Red"
                            ID="RegularExpressionValidator4" runat="server" 
                            Display ="Dynamic" 
                            ErrorMessage="<br />Provide a valid middle 3 digits!" 
                             ControlToValidate="txtPrefix0"
                            ValidationExpression="^([0-9]{3,3})$" 
                            Font-Size="X-Small"></asp:RegularExpressionValidator>
                            <asp:RegularExpressionValidator  ForeColor="Red"
                            ID="RegularExpressionValidator5" runat="server" 
                            Display ="Dynamic" 
                            ErrorMessage="<br />Provide a valid last 4 digits!" 
                            ControlToValidate="txtSuffix0"
                            ValidationExpression="^([0-9]{4,4})$" 
                            Font-Size="X-Small"></asp:RegularExpressionValidator>
                 
                </td>
             
        
        </tr>
        <tr>
         <td colspan="4" align="left" ><br /></td></tr>
         <tr>
         <td colspan="4" align="left" > <b>Planned term to enter Avila.*</b>
             <asp:DropDownList ID="ddTerm"  Width="140px" runat="server" 
                 onselectedindexchanged="ddTerm_SelectedIndexChanged">
                 <asp:ListItem Value="">Select One...</asp:ListItem>
                
                 
                    <asp:ListItem>Fall 2015</asp:ListItem>
                     <asp:ListItem>Spring 2016</asp:ListItem>
                      <asp:ListItem>Fall 2016</asp:ListItem>
             </asp:DropDownList>
             <asp:RequiredFieldValidator ForeColor="Red" ID="RFVddTerm" runat="server" CssClass="errMsg" Display="Dynamic"
                 ErrorMessage="*" ControlToValidate="ddTerm" ></asp:RequiredFieldValidator>
             </td>
       
         </tr>
        
            <tr>
        <td colspan="4" align="left" valign="top" ><br /></td>
      
      </tr>
         <tr>
         <td colspan="2" align="left" valign="top" >
            <asp:Label ID="lblSchool" runat="server" Font-Bold="true" Text="School Currently or Last Attended*"></asp:Label> 
             <br />
             <asp:TextBox ID="txtSchool" runat="server"  maxlength="40" TabIndex="15"  Font-Size="12px" ></asp:TextBox>
            <asp:RequiredFieldValidator ForeColor="Red" ID="rfvSchool" runat="server"  
                Display="Static"   ControlToValidate="txtSchool" 
               InitialValue="" ErrorMessage="*"></asp:RequiredFieldValidator>
         </td>
        <td colspan="2" align="left" valign="top" >
        How did you hear about Avila?
        <br />
        <asp:DropDownList ID="ddHowHear" runat="server"  Font-Size="12px"
                TabIndex="16">
                <asp:ListItem></asp:ListItem>
                <asp:ListItem>College Fair</asp:ListItem>
                <asp:ListItem>Alumni</asp:ListItem>
                <asp:ListItem>Brochure</asp:ListItem>
                <asp:ListItem>Current Student</asp:ListItem>
                <asp:ListItem>Friend</asp:ListItem>
                <asp:ListItem>Internet Search</asp:ListItem>
                <asp:ListItem>Parent</asp:ListItem>
                <asp:ListItem>Radio Ad</asp:ListItem>
                <asp:ListItem>TV</asp:ListItem>
                <asp:ListItem>Other</asp:ListItem>
            </asp:DropDownList> 
        </td>
         </tr>
          <tr>
        <td colspan="4" align="left" valign="top" ><br /></td>
      
      </tr>
      
     





       <tr>
         <td colspan="2" rowspan="2" align="left" valign="top" ><b>Intended Major*</b> <br />
             <asp:DropDownList ID="ddMajor" AutoPostBack="true"   runat="server"  Font-Size="12px"
                 TabIndex="17" onselectedindexchanged="ddMajor_SelectedIndexChanged1" >
             </asp:DropDownList>
             <asp:RequiredFieldValidator ForeColor="Red" 
                 ID="rfvMajor" runat="server"  Display="Static"   ControlToValidate="ddMajor" 
               InitialValue="" ErrorMessage="*"></asp:RequiredFieldValidator>
         </td>
         <td align="left" valign="top" colspan="2" ><span >Athletic Interests</span></td>
       
      </tr>

         




        <tr>
       
        <td colspan="2" align="left" valign="top" >
            <asp:DropDownList ID="ddAthInt" runat="server" TabIndex="18"  Font-Size="12px">
                <asp:ListItem></asp:ListItem>
                <asp:ListItem>Basketball</asp:ListItem>
                <asp:ListItem>Baseball</asp:ListItem>
                <asp:ListItem>Cheer</asp:ListItem>
                <asp:ListItem>Cross Country</asp:ListItem>
                <asp:ListItem>Dance</asp:ListItem>
                <asp:ListItem>Football</asp:ListItem>
                <asp:ListItem>Golf</asp:ListItem>
                <asp:ListItem>Soccer</asp:ListItem>
                <asp:ListItem>Softball</asp:ListItem>
                  <asp:ListItem>Track and Field</asp:ListItem>
                <asp:ListItem>Volleyball</asp:ListItem>
            
            </asp:DropDownList>
         </td>
          
      </tr>
       <tr>
        <td colspan="4" align="left" valign="top" ><br /></td>
       
     
      </tr>
    
       <tr>
         <td colspan="2" align="left" valign="top" >
            <asp:Label ID="Label3" runat="server" Font-Bold="true" Text="Would you like a campus tour?*"></asp:Label> 
             <br />
              <table><tr align="left"><td>
             <asp:RadioButtonList ID="rbVisit" runat="server" RepeatDirection ="Horizontal">
                 <asp:ListItem>Yes</asp:ListItem>
                 <asp:ListItem>No</asp:ListItem>
             </asp:RadioButtonList></td>
               <td> 
             <asp:RequiredFieldValidator ForeColor="Red" ID="RequiredFieldValidator1" runat="server"  
                Display="Static"   ControlToValidate="rbVisit" 
               InitialValue="" ErrorMessage="*"></asp:RequiredFieldValidator>
                  </td></tr></table>
         </td>
        <td colspan="2" align="left" valign="top" >
        Are you being recruited by AU Athletics ?
         <table><tr align="left"><td><asp:RadioButtonList ID="rbAthletic" runat="server" 
                RepeatDirection ="Horizontal">
                 <asp:ListItem>Yes</asp:ListItem>
                 <asp:ListItem>No</asp:ListItem>
             </asp:RadioButtonList></td></tr></table>
             
        </td>
         </tr>
          <tr>
        <td colspan="4" align="left" valign="top" ><br /></td>
      
      </tr>
     
       <tr><td colspan="4">
     
       <asp:Panel ID="pnlDefault" runat="server" Width="813px" >
  
    
        <table style="width:814px;" >
         <tr><td align="left" valign="top" colspan="2" ><asp:Label ID="lblMsg" runat="server"  ></asp:Label></td></tr>
         
             <tr>
                <td align="left" valign="top" ><b>When would you like to visit?*</b> </td>
                <td align="left" valign="top" ><b>Choose a visit start time*:</b> </td>
            </tr>
            <tr>
                <td align="left" valign="top" >
            
                    <asp:TextBox ID="txtVisitDate" runat="server" TabIndex="19"  
                     Font-Size="12px"
                         ></asp:TextBox>
                    <asp:RequiredFieldValidator ForeColor="Red" 
                ID="rfvVisitDate" runat="server"  Display="Static"    ControlToValidate="txtVisitDate"
               InitialValue="" ErrorMessage="*"></asp:RequiredFieldValidator>
               <asp:Label ID="lblErrTime" runat="server"  CssClass="errMsg" ></asp:Label>

                   
                    
                </td>   
                <td align="left" valign="top" >

             

              <asp:DropDownList ID="ddVisitTime" runat="server" TabIndex="20"  Font-Size="12px"  AutoPostBack="true"
                        onselectedindexchanged="ddVisitTime_SelectedIndexChanged" >
                 <%-- <asp:ListItem></asp:ListItem>
                  <asp:ListItem>9 AM</asp:ListItem>
                  <asp:ListItem>10 AM</asp:ListItem>
                  <asp:ListItem>11 AM</asp:ListItem>
                  <asp:ListItem>Noon</asp:ListItem>
                  <asp:ListItem>1 PM</asp:ListItem>
                  <asp:ListItem>2 PM</asp:ListItem>
                  <asp:ListItem>3 PM</asp:ListItem>--%>
              </asp:DropDownList> <asp:RequiredFieldValidator ForeColor="Red" 
                ID="rfvVisitTime" runat="server"  Display="Static"   ControlToValidate="ddVisitTime"
               InitialValue="" ErrorMessage="*"></asp:RequiredFieldValidator>
          </td>
            </tr>
      
       </table>
   
        </asp:Panel>
        
       <asp:Panel ID="pnlNU" runat="server" Width="811px" >
       
          <table style="width:815px;" >
          
           <tr>
            <td align="left" valign="top"><b>When would you like to visit?*</b> </td>
            <td align="left" valign="top"><b>Choose a visit start time*:</b> </td>
            </tr><tr><td align="left" valign="top" colspan="2" >
          <asp:Label ID="lblNMsg" runat="server"  ></asp:Label></td></tr>
          
            <tr>
                <td align="left" valign="top" >
            
                    <asp:TextBox ID="txtNVisit" runat="server" TabIndex="19"  Font-Size="12px"  ></asp:TextBox>
                       
                        <asp:RequiredFieldValidator ForeColor="Red" ID="rfvtxtNVisit" runat="server"  Display="Static"    ControlToValidate="txtNVisit" InitialValue="" ErrorMessage="*">
                         
                        </asp:RequiredFieldValidator>
                         <asp:Label ID="lblNErr" runat="server"  CssClass="errMsg" ></asp:Label>
                      
                </td>   
                <td align="left" valign="top">
                    <asp:DropDownList ID="ddNVisit" runat="server" TabIndex="20"  Font-Size="12px" 
                        onselectedindexchanged="ddNVisit_SelectedIndexChanged" >
                        <asp:ListItem></asp:ListItem>
                        <asp:ListItem>9 AM</asp:ListItem>
                  <asp:ListItem>10 AM</asp:ListItem>
                  <asp:ListItem>11 AM</asp:ListItem>
                
                  <asp:ListItem>1 PM</asp:ListItem>
                    <asp:ListItem>2 PM</asp:ListItem>
                 
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ForeColor="Red"  ID="rfvddNVisit" runat="server"  Display="Static"   ControlToValidate="ddNVisit"
                        InitialValue="" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            </table>
      
        </asp:Panel>
      </td></tr>
       </table>
       <table  style="width: 815px; margin-left:10px;">
       
        
        <tr>
        <td style=" height:2px;" colspan="4" align="left" valign="top">What other information would help us plan your visit?</td>
      <%--  What other information would help us plan your visit to meet with such as an academic, athletic, or other person?&nbsp;ith such as an academic, athletic, or other person?&nbsp;</td>
      --%>  </tr>

      <tr>
        <td colspan="4" align="left" valign="top" >
            <asp:TextBox ID="txtarOther" runat="server" Height="67px" TextMode="MultiLine" 
                 Font-Size="12px"
                Width="513px" TabIndex="21"  ></asp:TextBox>
        </td>
        
      </tr>
      
       </table>
       <table  style="width: 816px; margin-left:10px;" >
       
       <tr>
        <td colspan="4" align="left" valign="top" >Who is filling out this form?* </td>
        
      </tr>
      <tr>
        <td align="left" valign="top" colspan="4" >
        <asp:RadioButtonList ID="rbWho" runat="server" RepeatDirection="Horizontal" 
                    Height="17px" Width="507px" TabIndex="22">
                    <asp:ListItem>Student</asp:ListItem>
                    <asp:ListItem>Parent</asp:ListItem>
                    <asp:ListItem>Avila Rep</asp:ListItem>
                    <asp:ListItem>Coach</asp:ListItem>
                   
                </asp:RadioButtonList>
       </td>
       
      </tr>
     
     <tr>
     <td></td>
     </tr>
     
    
      
          <tr>
        <td colspan="4" align="left" valign="top">We will review your information
            and contact you soon!</td>
      </tr>
     
      <tr>
        <td  align="center" colspan="4" >
            <asp:Button ID="btnSubmit" runat="server" Text="Submit" style="font-size:larger; font-weight:bold;" 
                onclick="btnSubmit_Click" TabIndex="23" Height="47px" Width="101px" />
        </td>
       
        </tr>
         

          </table>




</asp:Content>
